package per.hnvcam.searchext.text.token;

import per.hnvcam.searchext.text.CommonWords;
import per.hnvcam.searchext.text.WordCounter;

/**
 * Created by IntelliJ IDEA.
 * User: violon
 * Date: 4/24/11
 * Time: 9:22 PM
 * To change this template use File | Settings | File Templates.
 */
public interface TokenHandler {
   void handleToken(String token, boolean samePhraseWithPrevious);

   int getTokenCountMininum();

   void setTokenCountMininum(int tokenCountMininum);

   int getTokenCountMaximum();

   void setTokenCountMaximum(int tokenCountMaximum);

   void setWordCounter(WordCounter wordCounter);

   void setCommonWords(CommonWords commonWords);
}
